package com.mmall.common;

/**
 * Created by Administrator on 2017/5/24 0024.
 */
/*
Const ：常量，常数
 */
public class Const {

    public static final String CURRENT_USER = "currentUser";

    public static final String EMAIL = "email";
    public static final String USERNAME = "username";

    //如果使用枚举显得过于繁重。（小技巧）通过内部接口类把常量进行分组
    public interface Role {
        int ROLE_CUSTOMER = 0;//普通用户
        int ROLE_ADMIN = 1;//管理员
    }
}
